package cn.bandeqing.wechatminiapp.rpc;

import cn.bandeqing.base.resp.Resp;
import cn.bandeqing.order.req.OrderDetailReq;
import cn.bandeqing.order.resp.OrderDetailResp;
import cn.bandeqing.wechatminiapp.req.*;
import cn.bandeqing.wechatminiapp.resp.*;

import java.util.List;

public interface IWechatMiniAppRpc {

    Resp<List<OrderListResp>> list(OrderListReq req);

    Resp<OrderDetailResp> detail(OrderDetailReq req);

    Resp<Void> appointment(OrderAppointmentReq req);

    Resp<List<CustomerAddressDetailResp>> addressList();

    Resp<Void> customerAddressSaveOrUpdate(CustomerAddressSaveOrUpdateReq req);

    Resp<CustomerAddressDetailResp> customerAddressDetail(CustomerAddressDetailReq req);

    Resp<List<StoreListResp>> storeList(StoreListReq req);

    Resp<StoreDetailResp> storeDetail(StoreDetailReq req);

    Resp<List<MonthOrderResp>> monthOrder(MonthOrderReq req);

}
